package com.sub.project.info.service.impl;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import com.sub.project.info.domain.WorkExperience;
import com.sub.project.info.mapper.WorkExperienceMapper;
import com.sub.project.info.service.IWorkExperienceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;


/**
 * 【请填写功能名称】Service业务层处理
 * 
 * @author ruoyi
 * @date 2020-01-07
 */
@Service
public class WorkExperienceServiceImpl extends ServiceImpl<WorkExperienceMapper, WorkExperience> implements IWorkExperienceService
{
    @Autowired
    private WorkExperienceMapper workExperienceMapper;

    @Override
    public List<WorkExperience> findByopenId(String openId) {
            Map<String, Object> columnMap = new HashMap();
            columnMap.put("user_id",openId);
            List<WorkExperience> workExperiences = workExperienceMapper.selectByMap(columnMap);
            return workExperiences;
        }

}
